package CommonLibrary.Commnads;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "CreateGameResponse")
public class CreateGameResponse extends Command{
    @XmlElement(required = true)
    private int isGameCreated;

    @XmlElement(required = true)
    private int gameID;
    
    public int getGameCreated()
    {
        return this.isGameCreated;
    }
    
    public void setGameCreated(int isCreated)
    {
        this.isGameCreated = isCreated;
    }
    
    public int getGameID()
    {
        return this.gameID;
    }

    public void setGameID(int id)
    {
        this.gameID = id;
    }

    public CreateGameResponse()
    {
        this.id = 13;
    }
}
